package com.kcsj.domain.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @author 胡庆阳
 * 29th Nov. 2020
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Notice {
    private Integer id;
    private String type;
    private String content;
    private String status;
    private User user;

    public Notice(Integer id, String type, String content, String status) {
        this.id = id;
        this.type = type;
        this.content = content;
        this.status = status;
    }

    public Notice(String type, String content, String status, User user) {
        this.type = type;
        this.content = content;
        this.status = status;
        this.user = user;
    }

    public Notice(String type, String content, String status) {
        this.type = type;
        this.content = content;
        this.status = status;
    }

    public Notice(String type, String content) {
        this.type = type;
        this.content = content;
    }
}
